Programmable integrated circuit with selective programming to compensate for process variations and/or mask revisions

ABSTRACT

Programmable integrated circuits (ICs) that compensate for process variations and/or mask revisions in a programmable integrated circuit (IC). An exemplary IC includes two programming ports, two programmable circuits (e.g., digital and analog), a non-volatile memory, and a configuration control circuit coupled to the programmable circuits and non-volatile memory. In some embodiments, one port can be used for storing data in the non-volatile memory, while the other port can be used for providing a configuration bitstream to the configuration control circuit. The non-volatile memory can be used to store a value that identifies a process corner and/or mask revision for the programmable IC. The configuration control circuit monitors data arriving in the configuration bitstream, and selectively either ignores the data or uses the data to configure the IC (e.g., the analog circuit), based on a comparison of a code key in the bitstream with the value stored in the non-volatile memory.

FIELD OF THE INVENTION

The invention relates to programmable integrated circuits (ICs). More particularly, the invention relates to a programmable IC that includes a structure for selectively programming the IC to compensate for process variations and/or mask revisions among programmable IC dice.

BACKGROUND OF THE INVENTION

Programmable logic devices (PLDs) are a well-known type of integrated circuit that can be programmed to perform specified logic functions. One type of PLD, the field programmable gate array (FPGA), typically includes an array of programmable tiles. These programmable tiles can include, for example, input/output blocks (IOBs), configurable logic blocks (CLBs), dedicated random access memory blocks (BRAM), multipliers, digital signal processing blocks (DSPs), processors, clock managers, delay lock loops (DLLs), multi-gigabit transceivers (MGTs), and so forth. Many of these tiles include circuits that are sensitive to variations in the silicon manufacturing process. With the decreasing physical geometries of transistors, resistors, capacitors, and other elements in integrated circuits, these process variations are becoming more difficult to compensate for using traditional design techniques.

Sometimes mask revisions are necessary to adjust circuits for process variations, and sometimes mask revisions are made for other reasons. In either case, mask revisions for a PLD can include changes to the values and/or usage of configuration data bits. Current methods of dealing with such mask revisions often require that a PLD user manually generate different bitstreams for different mask revisions of a PLD.

Each programmable tile typically includes both programmable interconnect and programmable logic. The programmable interconnect typically includes a large number of interconnect lines of varying lengths interconnected by programmable interconnect points (PIPs). The programmable logic implements the logic of a user design using programmable elements that can include, for example, function generators, registers, arithmetic logic, and so forth.

The programmable interconnect and programmable logic are typically programmed by loading a stream of configuration data into internal configuration memory cells that define how the programmable elements are configured. The configuration data can be read from memory (e.g., from an external PROM) or written into the FPGA by an external device. The collective states of the individual memory cells then determine the function of the FPGA.

Another type of PLD is the Complex Programmable Logic Device, or CPLD. A CPLD includes two or more “function blocks” connected together and to input/output (I/O) resources by an interconnect switch matrix. Each function block of the CPLD includes a two-level AND/OR structure similar to those used in Programmable Logic Arrays (PLAs) and Programmable Array Logic (PAL) devices. In CPLDs, configuration data is typically stored on-chip in non-volatile memory. In some CPLDs, configuration data is stored on-chip in non-volatile memory, then downloaded to volatile memory as part of an initial configuration (programming) sequence.

For all of these programmable logic devices (PLDs), the functionality of the device is controlled by data bits provided to the device for that purpose. The data bits can be stored in volatile memory (e.g., static memory cells, as in FPGAs and some CPLDs), in non-volatile memory (e.g., FLASH memory, as in some CPLDs), or in any other type of memory cell. The terms “PLD”, “programmable logic device”, and “programmable integrated circuit” include but are not limited to these exemplary devices, as well as encompassing devices that are only partially programmable. For example, one type of PLD includes a combination of hard-coded transistor logic and a programmable Switch fabric that programmably interconnects the hard-coded transistor logic.

As noted above, advanced FPGAs can include several different types of programmable logic blocks in the array. For example, FIG. 1 illustrates an FPGA architecture 100 that includes a large number of different programmable tiles including multi-gigabit transceivers (MGTs 101), configurable logic blocks (CLBs 102), random access memory blocks (BRAMs 103), input/output blocks (IOBs 104), configuration and clocking logic (CONFIG/CLOCKS 105), digital signal processing blocks (DSPs 106), specialized input/output blocks (I/O 107) (e.g., configuration ports and clock ports), and other programmable logic 108 such as digital clock managers, analog-to-digital converters, system monitoring logic, and so forth. Some FPGAs also include dedicated processor blocks (PROC 110).

In some FPGAs, each programmable tile includes a programmable interconnect element (INT 111) having standardized connections to and from a corresponding interconnect element in each adjacent tile. Therefore, the programmable interconnect elements taken together implement the programmable interconnect structure for the illustrated FPGA. The programmable interconnect element (INT 111) also includes the connections to and from the programmable logic element within the same tile, as shown by the examples included at the top of FIG. 1.

For example, a CLB 102 can include a configurable logic element (CLE 112) that can be programmed to implement user logic plus a single programmable interconnect element (INT 111). A BRAM 103 can include a BRAM logic element (BRL 113) in addition to one or more programmable interconnect elements. Typically, the number of interconnect elements included in a tile depends on the height of the tile. In the pictured embodiment, a BRAM tile has the same height as four CLBs, but other numbers (e.g., five) can also be used. A DSP tile 106 can include a DSP logic element (DSPL 114) in addition to an appropriate number of programmable interconnect elements. An IOB 104 can include, for example, two instances of an input/output logic element (IOL 115) in addition to one instance of the programmable interconnect element (INT 111). As will be clear to those of skill in the art, the actual I/O pads connected, for example, to the I/O logic element 115 are manufactured using metal layered above the various illustrated logic blocks, and typically are not confined to the area of the input/output logic element 115.

In the pictured embodiment, a columnar area near the center of the die (shown shaded in FIG. 1) is used for configuration, clock, and other control logic. Horizontal areas 109 extending from this column are used to distribute the clocks and configuration signals across the breadth of the FPGA.

Some FPGAs utilizing the architecture illustrated in FIG. 1 include additional logic blocks that disrupt the regular columnar structure making up a large part of the FPGA. The additional logic blocks can be programmable blocks and/or dedicated logic. For example, the processor block PROC 110 shown in FIG. 1 spans several columns of CLBs and BRAMs.

Note that FIG. 1 is intended to illustrate only an exemplary FPGA architecture. For example, the numbers of logic blocks in a column, the relative width of the columns, the number and order of columns, the types of logic blocks included in the columns, the relative sizes of the logic blocks, and the interconnect/logic implementations included at the top of FIG. 1 are purely exemplary. For example, in an actual FPGA more than one adjacent column of CLBs is typically included wherever the CLBs appear, to facilitate the efficient implementation of user logic, but the number of adjacent CLB columns varies with the overall size of the FPGA.

FIG. 2 illustrates an exemplary analog circuit including a bias generator 210 and an analog sub-circuit 220 driven by the bias generator. This type of circuit can be included, for example, in the analog logic blocks (IO blocks, MGTs, and so forth) of the FPGA of FIG. 1. In this example, analog sub-circuit 220 is a CML buffer (a current mode logic buffer), but other types of circuitry can also be driven by bias generator 210. CML buffer 220 is a well-known differential circuit typically used for high-speed logic. For example, a differential input signal that includes the two complementary signals IN and IN_B drives CML buffer 220, which produces the two complementary output signals OUT and OUT_B. CML buffer 220 includes resistors 221 and 222 and N-channel transistors 223-225, coupled between power high VDD and ground GND as shown in FIG. 2. NMOS transistor 225 generates the tail current for CML buffer 220, and is driven by a bias voltage Vbias, which is generated by bias generator 210. (In the present specification, the same reference characters are used to refer to terminals, signal lines, and their corresponding signals.) The value of bias voltage Vbias determines the current drive and voltage swing of CML buffer 220.

Bias generator 210 includes a P-channel pull-up transistor 201 gated by a reference voltage Vref, and two diode-connected NMOS transistors 202-203, coupled together between power high VDD and ground GND as shown in FIG. 2. Note that transistors 202 and 203 are coupled in parallel. As will be clear to those of skill in the art, the number of pull-down transistors can be less than two, two, or greater than two, and the size of the transistors can also vary, as determined by the circuit requirements of the Vbias node. For example, the Vbias node can drive only one destination (e.g., CML buffer 220, as shown), or can drive many destinations (e.g., many copies of buffer 220). The loading on the node is one of many factors that can affect the size and number of transistors 202-203. Other factors can include, for example, the operating voltage of the circuit. Additionally, the operating characteristics of bias generator 210 are typically affected by the process corner of the die including the circuit.

During the fabrication process for integrated circuits, it is very difficult to ensure complete uniformity for all die. For example, the width of minimum-size metal lines and polysilicon lines may vary from lot to lot, from wafer to wafer, or between dice at different locations on the same wafer. The thickness of some features (e.g., oxide layers) may also vary from lot to lot, from wafer to wafer, or between dice at different locations on the same wafer. Further, when an IC product is manufactured by more than one processing facility, these variations may be more pronounced, and/or may include differences in materials as well as feature size or thickness. These process variations may lead to differences in performance and/or other operating characteristics among various IC die.

Die are typically tested and sorted into different categories based on these characteristics. One common sorting technique is to characterize ICs as either slow, typical, or fast devices. These categories are examples of the different “process corners”. A process corner designation may be applied to an entire device, or to a specific type of structure (e.g., an N-channel transistor, a P-channel transistor, a thick oxide transistor, a low threshold transistor, a polysilicon resistor, and so forth). Thus, an IC die may fall into a single process corner, or more than one process corner.

The process corner(s) of an integrated circuit may seriously affect the performance of analog circuitry such as the bias generator circuit 210 shown in FIG. 2. For example, bias generator circuit 210 may generate a different bias voltage Vbias at the slow corner than at the fast corner of the process. Alternatively or additionally, the amount of capacitance that can be driven by bias generator circuit 210, or the speed of operation of the circuits driven by bias generator circuit 210, may vary unacceptably. These effects can be sufficient to make it very difficult to design a bias circuit 210 that will ensure optimum performance from CML buffer 220 at all process corners, particularly given the smaller feature sizes envisioned for future integrated circuits.

Therefore, it is desirable to provide circuits and methods of compensating for process variations and/or mask revisions in integrated circuits.

SUMMARY OF THE INVENTION

The invention provides circuits and methods of compensating for process variations and/or mask revisions in a programmable integrated circuit (IC). An exemplary programmable IC includes two programming ports, two programmable circuits (e.g., a digital circuit and an analog circuit), a non-volatile memory, and a configuration control circuit coupled to the programmable circuits and the non-volatile memory. In some embodiments, one programming port can be used for storing data in the non-volatile memory, while the other port can be used for providing a configuration bitstream to the configuration control circuit. The non-volatile memory can be used to store a value that identifies one or more process corners and/or one or more mask revisions for the programmable IC.

According to one embodiment, the configuration control circuit monitors data arriving in the configuration bitstream. When no code key has been received, configuration data is applied to a first circuit, e.g., a digital circuit. When a code key is identified in the configuration bitstream, the code key is compared to the value stored in the non-volatile memory. If there is a match, the subsequent configuration data is applied to a second circuit, e.g., an analog circuit. If there is no match, the subsequent configuration data is ignored until an “unlock” command is detected in the configuration bitstream. Thus, the configuration data for the digital circuit need be included only once in the configuration bitstream, while the typically smaller amount of configuration data for the analog circuit is supplied once for each supported process corner or mask revision.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is illustrated by way of example, and not by way of limitation, in the following figures.

FIG. 1 is an architectural representation of a known field programmable gate array (FPGA).

FIG. 2 is a schematic diagram of a known analog circuit including a bias generator and a current mode logic (CML) buffer.

FIG. 3 is a schematic diagram of a programmable analog circuit that can be used, for example, with the present invention.

FIG. 4 is a block diagram of a programmable integrated circuit (IC) implemented according to one aspect of the present invention.

FIG. 5 illustrates a configuration bitstream that can be used, for example, in the novel processes described herein.

FIG. 6 illustrates a programmable operational amplifier that can be used, for example, with the present invention.

FIG. 7 illustrates the steps of an exemplary method of compensating for process variation and/or mask revision in a programmable IC.

FIG. 8 illustrates further details of one of the steps in the method of FIG. 6.

DETAILED DESCRIPTION OF THE DRAWINGS

The present invention is applicable to a variety of programmable integrated circuits (ICs). An appreciation of the present invention is presented by way of specific examples utilizing programmable logic devices (PLDs) such as field programmable gate arrays (FPGAs). However, the present invention is not limited by these examples.

FIG. 3 illustrates an analog circuit similar to the known circuit shown in FIG. 2. However, the circuit of FIG. 3 is programmable to generate more than one different value of the bias voltage Vbias. This programmable circuit can be used, for example, to implement the present invention.

The circuit of FIG. 3 includes an exemplary analog circuit including a programmable bias generator 310 and an analog sub-circuit 220 driven by the bias generator. In the illustrated example, analog sub-circuit 220 is the same circuit as the CML buffer of FIG. 2. To avoid repetition, this circuit is not again described. Note that the bias voltage Vbias can be applied to any circuit that benefits from the use of a bias voltage. Therefore, the inclusion of the illustrated CML buffer in FIG. 3 is purely exemplary.

Programmable bias generator 310 includes a P-channel pull-up transistor 301 gated by a reference voltage Vref, two configuration memory cells M0 and M1, and six N-channel transistors 302-307, coupled together between power high VDD and ground GND as shown in FIG. 3.

Transistor 304 corresponds to transistor 202 of FIG. 2. However, the gate of transistor 304 is controlled by transistors 302 and 303, which are in turn controlled by configuration memory cell M0. When a high value is stored in configuration memory cell M0, transistor 302 is on and transistor 303 is off (the “bubble” between memory cell M0 and transistor 303 signifies an inversion). The gate of transistor 304 is tied to the Vbias node. Therefore, transistor 304 behaves in the same fashion as transistor 202 of FIG. 2. When a low value is stored in configuration memory cell M0, transistor 302 is off and transistor 303 is on. The gate of transistor 304 is tied to ground GND, so transistor 304 is turned off. Hence, the value stored in configuration memory cell M0 either enables or disables pull-down transistor 304.

Similarly, transistor 307 corresponds to transistor 203 of FIG. 2. However, the gate of transistor 307 is controlled by transistors 305 and 306, which are in turn controlled by configuration memory cell M1. When a high value is stored in configuration memory cell M1, transistor 305 is on and transistor 306 is off, and transistor 307 behaves in the same fashion as transistor 203 of FIG. 2. When a low value is stored in configuration memory cell M1, transistor 305 is off and transistor 306 is on, so transistor 307 is turned off. Hence, the value stored in configuration memory cell M1 either enables or disables pull-down transistor 307.

Note that transistors 304 and 307 do not necessarily have to be the same size, although in some embodiments they are the same size. By using two differently sized pull-down transistors, the number of values of Vbias is increased to three: transistors 304 and 307 both enabled; transistor 304 enabled and transistor 307 disabled; and transistor 304 disabled while transistor 307 is enabled. Thus, this arrangement can be used, for example, to adapt programmable bias generator 310 to three different process corners, e.g., slow, typical, and fast.

As will be clear to those of skill in the art, the number of pull-down transistors can be greater than two, if desired, and the sizes of the transistors can also vary, as determined by the circuit requirements of the Vbias node. For example, the Vbias node can drive only one destination (e.g., CML buffer 220, as shown), or can drive many destinations (e.g., many copies of buffer 220). The loading on the node is one of many factors that can affect the size and number of transistors 304 and 307. Other factors can include, for example, the operating voltage of the circuit.

FIG. 4 is a block diagram of a programmable integrated circuit (IC) implemented according to one aspect of the present invention. The programmable IC of FIG. 4 includes digital circuits 401, analog circuits 402, and a configuration control circuit 405 that provides configuration data to digital circuits 401 and analog circuits 402. A volatile memory port 407 provides an input port for a configuration bitstream that provides the configuration data to configuration control circuit 405. A non-volatile memory port 408 provides access for programming data (e.g., a value representing a process corner for the programmable IC), by which the value can be written to non-volatile memory 406. The value stored in non-volatile memory 406 is provided to configuration control circuit 405, where it can be used, for example, to determine which data from the configuration bitstream should be used to program analog circuits 402.

Non-volatile memory 406 can be implemented, for example, using an E-fuse structure, in which one or more fuses are blown to connect internal nodes to power high or ground. Alternatively or additionally, non-volatile memory 406 can be implemented using a PROM cell, an EPROM cell, and EEPROM cell, and/or a FLASH memory cell. It will be apparent to those of skill in the art that other types of non-volatile memory can also be used, including non-volatile memory structures yet to be developed.

Analog circuits 402 can include, for example, a programmable bias generator circuit 403 and analog sub-circuits 404, as shown in FIG. 4. Analog circuits 402 can be implemented, for example, as shown in FIG. 3. Additionally or alternatively, analog circuits 402 can include, for example, operational amplifiers, voltage reference circuits, voltage regulator circuits, differential to single-ended converter circuits, and/or memory cell read/write circuits. In a field programmable gate array having a structure similar to the FPGA shown in FIG. 1, for example, analog circuits 402 can include any or all of the following logic blocks: input/output blocks (IOBs); multi-gigabit transceivers (MGTs); digital clock managers (DCMs); digitally controlled impedance (DCI) circuitry; system monitors; analog-to-digital (A/D) converters; and so forth.

For simplicity, the programmable IC of FIG. 4 illustrates an example in which the two types of programmable circuits 401, 402 are divided into digital circuits and analog circuits. This might be the case, for example, when the methods and circuits of the invention are used to compensate for process variations that typically have a greater effect on analog circuitry than on digital circuitry. In other embodiments (not shown), one or both types of circuitry include both digital and analog circuitry, or both circuits include only digital logic, or both circuits include only analog logic. For example, when the methods and circuits of the invention are used to compensate for mask revisions, the mask revisions might affect digital circuitry as well as, or instead of, analog circuitry.

Note further that while these circuits are shown in FIG. 4 as being physically distinct from one another, they may be implemented either as physically distinct circuits or they can be physically interspersed with one another. For example, configuration control circuit 405 may be dispersed among the digital and/or analog circuitry.

FIG. 5 illustrates a configuration bitstream that can be used, for example, to implement the present invention. The configuration bitstream of FIG. 5 is written onto a programmable IC from left to right. Thus, the first data to be written to the programmable IC in the illustrated example is the configuration data 501 for the digital circuits. For example, in the programmable IC of FIG. 4, configuration control circuit 405 would write this data to digital circuits 401. After the digital data, the configuration bitstream includes a code key 502 a which is detected by configuration control circuit 405. Configuration control circuit 405 then compares this code key 502 a to a value stored in non-volatile memory 406. When the two values match, configuration control circuit 405 stores the subsequent data 503 a into analog circuits 402. When the two values do not match, configuration control circuit 405 ignores the subsequent data 503 a, and continues monitoring the configuration bitstream. In either case, when an “unlock” command 504 is detected, the first set of analog configuration data is complete. Another code key 502 b indicates the beginning of another set of the analog configuration data 503 b, and another instance of unlock command 504 signals the end of the second set of analog configuration data. A third code key 502 c indicates the beginning of another set of the analog configuration data 503 c, and another instance of unlock command 504 signals the end of the third set of analog configuration data. When the third set of analog configuration data 503 c occurs at the end of the configuration bitstream, as shown in FIG. 5, the final occurrence of unlock command 504 is optional.

As is well known, configuration bitstreams are typically organized into “frames” of data, e.g., with each frame having the same width as an internal configuration register within the programmable IC. In these embodiments, clearly it is preferable to organize the configuration data within the bitstream such that the code keys and unlock commands are inserted at frame boundaries. However, in some embodiments the code keys and/or unlock commands are inserted at locations other than frame boundaries. In some such embodiments, the configuration data is not organized into frames. In other such embodiments, the configuration data is organized into frames, but the code keys and/or unlock commands are inserted at locations other than frame boundaries.

The configuration bitstream of FIG. 5 is purely exemplary, and can be implemented in many different ways. For example, in the bitstream of FIG. 5 all of the configuration data for the digital circuits is provided before any of the data is provided for the analog circuits. In some embodiments, the analog data is interspersed among the digital data. In these embodiments, once the unlock command has been detected, the configuration control logic returns to the standard configuration mode (e.g., in which all configuration data is written to the circuitry of the device) until another code key is detected.

Note that a typical programmable IC includes much more digital circuitry than analog circuitry. Therefore, in embodiments where the process-specific configuration data is provided only for analog circuitry, and not for digital circuitry, only a relatively small proportion of the configuration bitstream requires the inclusion of multiple data sets in the configuration bitstream.

In the pictured embodiment, three different code keys are provided, e.g., representing the process corners for the programmable IC. These code keys can represent, for example, the slow, typical, and fast process corners for the programmable IC. In other embodiments, other numbers of code keys are provided, and/or the code keys can represent other process designations for the IC.

In one embodiment, each code key includes two bits of data directed to each type of transistor in the IC. These two bits of data separately identify a slow, typical, or fast process corner for each type of transistor in the IC. These transistor types can include, for example: thick oxide transistors, N-channel and/or P-channel; thin oxide transistors, N-channel and/or P-channel; mid-oxide transistors, N-channel and/or P-channel; low-threshold transistors, N-channel and/or P-channel, low threshold/thin oxide transistors, N-channel and/or P-channel; and so forth. The process corners for other types of structures can also be stored in the non-volatile memory and included in the code keys. For example, a process corner for polysilicon resistors can be included.

In some embodiments, each code key is unique to one mask revision. For example, it is not uncommon for mask sets to be revised to compensate for process variations. In these circumstances, a configuration bitstream can include different sets of configuration data for the analog circuitry of the programmable IC, based on which mask revision is used to fabricate the IC. Using known processes, a customer must manually enter a “stepping number” that identifies the mask revision to the software that generates the configuration bitstream. When the present invention is applied, this manual step can be avoided.

In some embodiments, each code key is unique to one mask revision, although the mask revision is made for purposes other than compensating for process variations. For example, a mask revision might be made to correct an error in the IC hardware, and the mask revision might require a change to the configuration data, e.g., changes to the usage of certain data bits, and/or the values of the data bits. In this situation, the circuits and methods described herein can be used to automatically compensate for the mask revision, as previously described.

FIG. 6 illustrates another exemplary analog circuit that can be used to implement the circuits and methods of the present invention. The circuit of FIG. 6 is a programmable operational amplifier (op-amp) that can be driven, for example, by bias generator 210 of FIG. 2 or programmable bias generator 310 of FIG. 3. In the op-amp of FIG. 6, the compensation capacitance is programmable using values stored in configuration memory cells (M2-M4). The compensation capacitor network (614-616) prevents the op-amp from being unstable by reducing the gain above a certain frequency where the phase margin goes to zero. The frequency where gain reduction starts is set by the high-pass filter created by the resistor (608) and the capacitor network (614-616). The capacitor network is created from transistors whose gate capacitance can vary widely with variations in the fabrication process. Thus, it is desirable to have the ability to tune the capacitance of the op-amp depending on the process corner, in order to have control over the frequency at which gain reduction is applied.

The op-amp of FIG. 6 includes P-channel transistors 601-603 and 606; N-channel transistors 604-605, 607, and 611-613; resistor 608; capacitors 614-616; and configuration memory cells M2-M4, coupled together as shown in FIG. 6. Transistors 601-605 implement a standard op-amp circuit controlled by bias voltage Vbias, which can be generated, for example, by bias generator circuit 210 (see FIG. 2) or 310 (see FIG. 3), or by some other source. This standard op-amp circuit drives a high-pass filter (elements 608 and 611-616) and an output circuit (transistors 606-607), which provides the op-amp output signal OUT.

Note that FIGS. 3 and 6 merely provide exemplary programmable analog circuits that can be used to take advantage of the circuits and methods of the present invention. As noted above, the programmable circuits applicable to the invention can include, but are not limited to, any of the following: bias generator circuits, bandgap circuits, CML buffers, operational amplifiers, voltage reference circuits, voltage regulator circuits, differential to single-ended converter circuits, and memory cell read/write circuits. It will be clear to those of skill in the art that many other types of circuits are also suitable for implementation of the present invention.

FIG. 7 illustrates the steps of an exemplary method of compensating for process variations and/or mask revisions in a programmable IC. This method can be practiced, for example, using the exemplary circuits of FIGS. 3-4 and 6 and/or the exemplary configuration bitstream of FIG. 5. However, the method can also be practiced using other circuits and other bitstreams, e.g., using the variations described above in conjunction with these figures. It will be apparent to those of skill in the art that the illustrated methods can be practiced within these and other architectural variations.

In step 701, the programmable IC is fabricated. In optional step 702, the IC is packaged. Step 702 is optional because the IC can be packaged at this point in the process, or later in the process (e.g., in optional step 705).

In optional step 703, the programmable IC is tested to determine a process corner for the IC. These process corners can be, for example, slow, typical, and fast, or can use some other categories as desired. The same process corner can be applied to all devices on the IC, or different process corner information can be determined for different types of structures (e.g., transistors, polysilicon resistors, etc.) on the IC.

In step 704, a value is stored in a non-volatile memory included in the programmable IC. If the programmable IC was tested as shown in step 703, then the value stored in the non-volatile memory can represent, for example, the process corner determined in step 703. In other embodiments, the value stored in the non-volatile memory represents a mask revision for the programmable IC, e.g., a mask revision that affects the functionality of some of the circuits in the IC, such as the analog circuitry. In these embodiments, step 703 can be omitted, or can represent simply the usual testing performed on an IC as part of the manufacturing process. In some embodiments, the stored value includes information regarding both process corner and mask revision. In other embodiments, the stored value includes other information regarding the programmable IC, instead of or in addition to the process corner and mask revision information.

As previously noted, the IC can be packaged before testing (step 702) or after the value is stored in the non-volatile memory, as indicated in optional step 705. In some embodiments (not shown), the IC is packaged after testing and prior to storing the value in the non-volatile memory.

In step 606, the IC is selectively programmed with configuration data such as a configuration data bitstream. The programming is selective, because the choice of configuration data used to program the IC depends on the value stored in the non-volatile memory in step 704.

FIG. 8 illustrates in more detail the sequence of events effecting the selective programming of step 706, according to some embodiments of the invention. In step 801, during a programming process for the programmable IC, the configuration bitstream is monitored for the occurrence of a code key. In decision step 802, as long as no code key is detected, the bitstream is handled in a standard manner. For example, configuration control logic might continue to write configuration data into first programmable logic as long as no code key is detected. In step 803, once a code key is detected, the code key is compared to the value stored in non-volatile memory of the programmable IC (e.g., in step 704 of FIG. 7). In decision step 804, as long as no match occurs, the subsequent configuration data is ignored (step 805) until a predetermined command (e.g., an “unlock” command) is detected in the configuration bitstream (step 807). However, if the code key matches the value stored in the non-volatile memory, subsequent data from the configuration bitstream is written to a configuration memory in the programmable IC (step 806). For example, once a match is detected, the configuration control logic might begin to write configuration data into second programmable logic in the IC. At step 807, the predetermined command is detected in the configuration bitstream.

After step 807, in some embodiments the configuration control logic continues to step through the bitstream until the end of the bitstream is reached. In other words, standard processing of the bitstream resumes until and unless another code key is detected (e.g., the method returns to step 801). In other embodiments, the process-selective configuration data is provided only at the end of the configuration bitstream, as shown in the bitstream of FIG. 5. In some of these embodiments, the first unlock command that is detected is interpreted as a signal that the configuration process is complete (step 808).

Those having skill in the relevant arts of the invention will now perceive various modifications and additions that can be made as a result of the disclosure herein. For example, non-volatile memories, E-fuse structures, E-fuses, pull-ups, pull-downs, transistors, P-channel transistors, N-channel transistors, mid-oxide transistors, low-threshold transistors, configuration control circuits, CML buffers, bias generator circuits, CML buffers, operational amplifiers, digital circuits, analog circuits, and other components other than those described herein can be used to implement the invention. Active-high signals can be replaced with active-low signals by making straightforward alterations to the circuitry, such as are well known in the art of circuit design. Logical circuits can be replaced by their logical equivalents by appropriately inverting input and output signals, as is also well known.

Moreover, some components are shown directly connected to one another while others are shown connected via intermediate components. In each instance the method of interconnection establishes some desired electrical communication between two or more circuit nodes. Such communication can often be accomplished using a number of circuit configurations, as will be understood by those of skill in the art.

Accordingly, all such modifications and additions are deemed to be within the scope of the invention, which is to be limited only by the appended claims and their equivalents. 

1. A programmable integrated circuit (IC), comprising: first and second programming ports; a configuration control circuit having an input terminal coupled to the first programming port, and further having first and second output terminals; a first programmable circuit having a configuration input terminal coupled to the first output terminal of the configuration control circuit; a second programmable circuit having a configuration input terminal coupled to the second output terminal of the configuration control circuit; and a non-volatile memory having an input terminal coupled to the second programming port, the non-volatile memory further having an output terminal coupled to the configuration control circuit, wherein the non-volatile memory comprises a stored value representing processing information regarding the programmable IC.
 2. The programmable IC of claim 1, wherein the stored value represents a process corner of the programmable IC.
 3. The programmable IC of claim 1, wherein the stored value represents a mask revision of the programmable IC.
 4. The programmable IC of claim 1, wherein the first programmable circuit comprises a digital circuit and the second programmable circuit comprises an analog circuit.
 5. The programmable IC of claim 4, wherein the second programmable circuit comprises: a programmable bias generator circuit having an input terminal coupled to the second output terminal of the configuration control circuit and further having an output terminal; and an analog sub-circuit having an input terminal coupled to the output terminal of the programmable bias generator circuit.
 6. The programmable IC of claim 1, wherein the second programmable circuit comprises a circuit selected from a list consisting of: an operational amplifier; a voltage reference circuit; a voltage regulator circuit; a differential to single-ended converter circuit; and a memory cell read/write circuit.
 7. The programmable IC of claim 1, wherein the non-volatile memory comprises a circuit selected from a list consisting of: an E-fuse register; a PROM cell; an EPROM cell; an EEPROM cell; and a FLASH memory cell.
 8. A programmable integrated circuit (IC), comprising: a configuration control circuit having an input terminal coupled to receive a configuration bitstream for the programmable IC, and further having first and second output terminals; a first programmable circuit having a configuration input terminal coupled to the first output terminal of the configuration control circuit; a second programmable circuit having a configuration input terminal coupled to the second output terminal of the configuration control circuit; and a non-volatile memory having an output terminal coupled to the configuration control circuit, wherein the non-volatile memory comprises a stored value representing processing information regarding the programmable IC.
 9. The programmable IC of claim 8, wherein the stored value represents a process corner of the programmable IC.
 10. The programmable IC of claim 8, wherein the stored value represents a mask revision of the programmable IC.
 11. The programmable IC of claim 8, wherein the first programmable circuit comprises a digital circuit and the second programmable circuit comprises an analog circuit.
 12. The programmable IC of claim 11, wherein the second programmable circuit comprises: a programmable bias generator circuit having an input terminal coupled to the configuration control circuit and further having an output terminal; and an analog sub-circuit having an input terminal coupled to the output terminal of the programmable bias generator circuit.
 13. The programmable IC of claim 8, wherein the second programmable circuit comprises a circuit selected from a list consisting of: an operational amplifier; a voltage reference circuit; a voltage regulator circuit; a differential to single-ended converter circuit; and a memory cell read/write circuit.
 14. The programmable IC of claim 8, wherein the non-volatile memory comprises a circuit selected from a list consisting of: an E-fuse register; a PROM cell; an EPROM cell; an EEPROM cell; and a FLASH memory cell.
 15. A programmable integrated circuit (IC), comprising: a non-volatile memory storing a value; a first programmable circuit; and means for selectively programming the first programmable circuit with one of a first set and a second set of configuration data from a configuration bitstream, based on results of comparing a code key from the configuration bitstream with the value stored in the non-volatile memory, wherein the means for selectively programming is coupled to the non-volatile memory and the first programmable circuit.
 16. The programmable IC of claim 15, further comprising: means for storing the value in the non-volatile memory.
 17. The programmable IC of claim 15, wherein the value stored in the non-volatile memory is selected from the group consisting of: a value representing a process corner of the programmable IC; and a value representing a mask revision of the programmable IC.
 18. The programmable IC of claim 15, wherein the first programmable circuit comprises a circuit selected from a list consisting of: an operational amplifier; a voltage reference circuit; a voltage regulator circuit; a differential to single-ended converter circuit; and a memory cell read/write circuit.
 19. The programmable IC of claim 15, further comprising a second programmable circuit coupled to the means for selectively programming, and wherein the means for selectively programming further comprises means for programming the second programmable circuit with a third set of configuration data from the configuration bitstream.
 20. The programmable IC of claim 19, wherein the first programmable circuit comprises an analog circuit and the second programmable circuit comprises a digital circuit. 